<template>
  <guat-select-member-modal title="选择成员">
    <a-table
      :columns
      :row-selection="{
        type: 'checkbox',
        showCheckedAll: true,
      }"
    />
  </guat-select-member-modal>
</template>

<script setup lang="ts">
import { TableColumnData } from "@arco-design/web-vue";

const [GuatSelectMemberModal, { setModalVisible }] = useModal();

const columns: TableColumnData[] = [
  {
    title: "姓名",
    dataIndex: "userName",
  },
  {
    title: "学号",
    dataIndex: "userNo",
  },
  {
    title: "班级",
    dataIndex: "userClass",
  },
];

defineExpose({
  setModalVisible,
});
</script>

<style scoped></style>
